import type { TableHeader , operationInstance } from "@/components/dzs-table/@types";

export const TABALE_HEADER: TableHeader[] = [
    {
        label: "导航栏名称",
        key: "title",
    },
    {
        label: "跳转地址",
        key: "path",
    },
    {
        label: "排序",
        key: "sorts",
    },
    // {
    //     label: "是否文章单独连接",
    //     key: "is_article",
    //     isSlot: true,
    // },
    {
        label: "是否显示",
        key: "is_show",
        isSlot: true,
    },
    {
        label: "更新时间",
        key: "updatetime",
    },
    {
        label: "创建时间",
        key: "addtime",
    },
    {
        label: "创建人",
        key: "createByUser",
    },
];

export const operation : Array<operationInstance> = ['edit','delete'];
